package com.atmilan.quartz.model.vo.buyer;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import lombok.Data;

/**
 * 【请填写功能名称】对象 t_product
 * 
 * @author muyu
 * @date 2020-09-01
 */
@Data
public class ProductQuery extends BaseQuery {
    private static final long serialVersionUID = 1L;
    private Integer isDeleted;
    private Integer isDelete;

    private Integer stockFilter;
    private String bindCategoryIds;
    private String categoryIds;
    private Long id;
    private String search;
    private String productCode;
    private String productName;
    private Long categoryId;
    private Long brandId;
    private String productDetail;
    private String brandIds;
    private Integer examineStatus;
    private Integer onSaleStatus;
    private Integer supplierOnSaleStatus;
    private String version;
    private String productEnName;
    private String tag;
    private String barCode;
    private Integer priceOrder;
    private String deliverAddress;
    private Integer stock;
    private Long supplierId;
    private String supplierIds;
    private Double maxPrice;
    private Double minPrice;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("productCode", getProductCode()).append("productName", getProductName()).append("categoryId", getCategoryId()).append("brandId", getBrandId()).append("productDetail", getProductDetail()).append("examineStatus", getExamineStatus()).append("onSaleStatus", getOnSaleStatus()).append("remark", getRemark()).append("version", getVersion()).append("productEnName", getProductEnName()).append("tag", getTag()).append("barCode", getBarCode()).append("isDeleted", getIsDeleted()).append("createTime", getCreateTime()).append("editTime", getEditTime()).append("creator", getCreator()).append("editor", getEditor()).toString();
    }
}
